(self.webpackChunkpromptmanager=self.webpackChunkpromptmanager||[]).push([[59],{56125:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var o=n(4942),r=n(63366),a=n(87462),i=n(72791),c=n(28182),s=n(26752),l=n(94419),u=n(66934),d=n(31402),h=n(81314),p=n(4999),m=n(13967),g=n(42071),f=n(75878),v=n(21217);function b(e){return(0,v.Z)("MuiCollapse",e)}(0,f.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var w=n(80184),_=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],k=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,a.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),A=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})((function(e){var t=e.ownerState;return(0,a.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),x=(0,u.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,t){return t.wrapperInner}})((function(e){var t=e.ownerState;return(0,a.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),y=i.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiCollapse"}),u=n.addEndListener,f=n.children,v=n.className,y=n.collapsedSize,C=void 0===y?"0px":y,R=n.component,Z=n.easing,E=n.in,S=n.onEnter,M=n.onEntered,L=n.onEntering,B=n.onExit,O=n.onExited,T=n.onExiting,F=n.orientation,I=void 0===F?"vertical":F,N=n.style,j=n.timeout,D=void 0===j?h.x9.standard:j,V=n.TransitionComponent,$=void 0===V?s.ZP:V,q=(0,r.Z)(n,_),P=(0,a.Z)({},n,{orientation:I,collapsedSize:C}),W=function(e){var t=e.orientation,n=e.classes,o={root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]};return(0,l.Z)(o,b,n)}(P),z=(0,m.Z)(),Y=i.useRef(),H=i.useRef(null),X=i.useRef(),U="number"===typeof C?"".concat(C,"px"):C,J="horizontal"===I,G=J?"width":"height";i.useEffect((function(){return function(){clearTimeout(Y.current)}}),[]);var K=i.useRef(null),Q=(0,g.Z)(t,K),ee=function(e){return function(t){if(e){var n=K.current;void 0===t?e(n):e(n,t)}}},te=function(){return H.current?H.current[J?"clientWidth":"clientHeight"]:0},ne=ee((function(e,t){H.current&&J&&(H.current.style.position="absolute"),e.style[G]=U,S&&S(e,t)})),oe=ee((function(e,t){var n=te();H.current&&J&&(H.current.style.position="");var o=(0,p.C)({style:N,timeout:D,easing:Z},{mode:"enter"}),r=o.duration,a=o.easing;if("auto"===D){var i=z.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(i,"ms"),X.current=i}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[G]="".concat(n,"px"),e.style.transitionTimingFunction=a,L&&L(e,t)})),re=ee((function(e,t){e.style[G]="auto",M&&M(e,t)})),ae=ee((function(e){e.style[G]="".concat(te(),"px"),B&&B(e)})),ie=ee(O),ce=ee((function(e){var t=te(),n=(0,p.C)({style:N,timeout:D,easing:Z},{mode:"exit"}),o=n.duration,r=n.easing;if("auto"===D){var a=z.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(a,"ms"),X.current=a}else e.style.transitionDuration="string"===typeof o?o:"".concat(o,"ms");e.style[G]=U,e.style.transitionTimingFunction=r,T&&T(e)}));return(0,w.jsx)($,(0,a.Z)({in:E,onEnter:ne,onEntered:re,onEntering:oe,onExit:ae,onExited:ie,onExiting:ce,addEndListener:function(e){"auto"===D&&(Y.current=setTimeout(e,X.current||0)),u&&u(K.current,e)},nodeRef:K,timeout:"auto"===D?null:D},q,{children:function(e,t){return(0,w.jsx)(k,(0,a.Z)({as:R,className:(0,c.Z)(W.root,v,{entered:W.entered,exited:!E&&"0px"===U&&W.hidden}[e]),style:(0,a.Z)((0,o.Z)({},J?"minWidth":"minHeight",U),N),ownerState:(0,a.Z)({},P,{state:e}),ref:Q},t,{children:(0,w.jsx)(A,{ownerState:(0,a.Z)({},P,{state:e}),className:W.wrapper,ref:H,children:(0,w.jsx)(x,{ownerState:(0,a.Z)({},P,{state:e}),className:W.wrapperInner,children:f})})}))}}))}));y.muiSupportAuto=!0;var C=y},66027:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,a=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(a,r),t.JsonHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,r=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var r=n[1].length,a=e.findMatchingBracket({row:t,column:r});if(!a||a.row==t)return 0;var i=this.$getIndent(e.getLine(a.row));e.replace(new o(t,0,t,r-1),i)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),r=e("../../range").Range,a=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(i,a),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,a=e.getLine(n);if(this.startRegionRe.test(a))return this.getCommentRegionBlock(e,a,n);if(r=a.match(this.foldingStartMarker)){var i=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,i);var c=e.getCommentFoldRange(n,i+r[0].length,1);return c&&!c.isMultiLine()&&(o?c=this.getSectionRange(e,n):"all"!=t&&(c=null)),c}if("markbegin"!==t&&(r=a.match(this.foldingStopMarker))){i=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,i):e.getCommentFoldRange(n,i,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),a=t,i=n.length,c=t+=1,s=e.getLength();++t<s;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(o>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=a)break;if(u.isMultiLine())t=u.end.row;else if(o==l)break}c=t}}return new r(a,i,c,e.getLine(c).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),a=e.getLength(),i=n,c=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,s=1;++n<a;){t=e.getLine(n);var l=c.exec(t);if(l&&(l[1]?s--:s++,!s))break}if(n>i)return new r(i,o,n,t.length)}}.call(i.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("./text").Mode,a=e("./json_highlight_rules").JsonHighlightRules,i=e("./matching_brace_outdent").MatchingBraceOutdent,c=e("./behaviour/cstyle").CstyleBehaviour,s=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,u=function(){this.HighlightRules=a,this.$outdent=new i,this.$behaviour=new c,this.foldingRules=new s};o.inherits(u,r),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t);"start"==e&&(t.match(/^.*[\{\(\[]\s*$/)&&(o+=n));return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(u.prototype),t.Mode=u})),ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))},3478:function(e,t,n){e=n.nmd(e),ace.define("ace/theme/chrome.css",["require","exports","module"],(function(e,t,n){n.exports='.ace-chrome .ace_gutter {\n  background: #ebebeb;\n  color: #333;\n  overflow : hidden;\n}\n\n.ace-chrome .ace_print-margin {\n  width: 1px;\n  background: #e8e8e8;\n}\n\n.ace-chrome {\n  background-color: #FFFFFF;\n  color: black;\n}\n\n.ace-chrome .ace_cursor {\n  color: black;\n}\n\n.ace-chrome .ace_invisible {\n  color: rgb(191, 191, 191);\n}\n\n.ace-chrome .ace_constant.ace_buildin {\n  color: rgb(88, 72, 246);\n}\n\n.ace-chrome .ace_constant.ace_language {\n  color: rgb(88, 92, 246);\n}\n\n.ace-chrome .ace_constant.ace_library {\n  color: rgb(6, 150, 14);\n}\n\n.ace-chrome .ace_invalid {\n  background-color: rgb(153, 0, 0);\n  color: white;\n}\n\n.ace-chrome .ace_fold {\n}\n\n.ace-chrome .ace_support.ace_function {\n  color: rgb(60, 76, 114);\n}\n\n.ace-chrome .ace_support.ace_constant {\n  color: rgb(6, 150, 14);\n}\n\n.ace-chrome .ace_support.ace_type,\n.ace-chrome .ace_support.ace_class\n.ace-chrome .ace_support.ace_other {\n  color: rgb(109, 121, 222);\n}\n\n.ace-chrome .ace_variable.ace_parameter {\n  font-style:italic;\n  color:#FD971F;\n}\n.ace-chrome .ace_keyword.ace_operator {\n  color: rgb(104, 118, 135);\n}\n\n.ace-chrome .ace_comment {\n  color: #236e24;\n}\n\n.ace-chrome .ace_comment.ace_doc {\n  color: #236e24;\n}\n\n.ace-chrome .ace_comment.ace_doc.ace_tag {\n  color: #236e24;\n}\n\n.ace-chrome .ace_constant.ace_numeric {\n  color: rgb(0, 0, 205);\n}\n\n.ace-chrome .ace_variable {\n  color: rgb(49, 132, 149);\n}\n\n.ace-chrome .ace_xml-pe {\n  color: rgb(104, 104, 91);\n}\n\n.ace-chrome .ace_entity.ace_name.ace_function {\n  color: #0000A2;\n}\n\n\n.ace-chrome .ace_heading {\n  color: rgb(12, 7, 255);\n}\n\n.ace-chrome .ace_list {\n  color:rgb(185, 6, 144);\n}\n\n.ace-chrome .ace_marker-layer .ace_selection {\n  background: rgb(181, 213, 255);\n}\n\n.ace-chrome .ace_marker-layer .ace_step {\n  background: rgb(252, 255, 0);\n}\n\n.ace-chrome .ace_marker-layer .ace_stack {\n  background: rgb(164, 229, 101);\n}\n\n.ace-chrome .ace_marker-layer .ace_bracket {\n  margin: -1px 0 0 -1px;\n  border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-chrome .ace_marker-layer .ace_active-line {\n  background: rgba(0, 0, 0, 0.07);\n}\n\n.ace-chrome .ace_gutter-active-line {\n    background-color : #dcdcdc;\n}\n\n.ace-chrome .ace_marker-layer .ace_selected-word {\n  background: rgb(250, 250, 255);\n  border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-chrome .ace_storage,\n.ace-chrome .ace_keyword,\n.ace-chrome .ace_meta.ace_tag {\n  color: rgb(147, 15, 128);\n}\n\n.ace-chrome .ace_string.ace_regex {\n  color: rgb(255, 0, 0)\n}\n\n.ace-chrome .ace_string {\n  color: #1A1AA6;\n}\n\n.ace-chrome .ace_entity.ace_other.ace_attribute-name {\n  color: #994409;\n}\n\n.ace-chrome .ace_indent-guide {\n  background: url("") right repeat-y;\n}\n  \n.ace-chrome .ace_indent-guide-active {\n  background: url("") right repeat-y;\n}\n'})),ace.define("ace/theme/chrome",["require","exports","module","ace/theme/chrome.css","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText=e("./chrome.css"),e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/chrome"],(function(t){e&&(e.exports=t)}))},58686:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},fS:function(){return c},qN:function(){return i}});var o=n(4942),r=n(74487);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.map((function(e){return"".concat(t).concat(e)})).join(",")}var i=8;function c(e){var t=i,n=e.sizePopupArrow,o=e.contentRadius,r=e.borderRadiusOuter,a=e.limitVerticalRadius,c=n/2-Math.ceil(r*(Math.sqrt(2)-1)),s=(o>12?o+2:12)-c;return{dropdownArrowOffset:s,dropdownArrowOffsetVertical:a?t-c:s}}function s(e,t){var n,i=e.componentCls,s=e.sizePopupArrow,l=e.marginXXS,u=e.borderRadiusXS,d=e.borderRadiusOuter,h=e.boxShadowPopoverArrow,p=t.colorBg,m=t.showArrowCls,g=t.contentRadius,f=c({sizePopupArrow:s,contentRadius:void 0===g?e.borderRadiusLG:g,borderRadiusOuter:d,limitVerticalRadius:t.limitVerticalRadius}),v=f.dropdownArrowOffsetVertical,b=f.dropdownArrowOffset,w=s/2+l;return(0,o.Z)({},i,(n={},(0,o.Z)(n,"".concat(i,"-arrow"),[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(s,u,d,p,h)),{"&:before":{background:p}})]),(0,o.Z)(n,["&-placement-top ".concat(i,"-arrow"),"&-placement-topLeft ".concat(i,"-arrow"),"&-placement-topRight ".concat(i,"-arrow")].join(","),{bottom:0,transform:"translateY(100%) rotate(180deg)"}),(0,o.Z)(n,"&-placement-top ".concat(i,"-arrow"),{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"}),(0,o.Z)(n,"&-placement-topLeft ".concat(i,"-arrow"),{left:{_skip_check_:!0,value:b}}),(0,o.Z)(n,"&-placement-topRight ".concat(i,"-arrow"),{right:{_skip_check_:!0,value:b}}),(0,o.Z)(n,["&-placement-bottom ".concat(i,"-arrow"),"&-placement-bottomLeft ".concat(i,"-arrow"),"&-placement-bottomRight ".concat(i,"-arrow")].join(","),{top:0,transform:"translateY(-100%)"}),(0,o.Z)(n,"&-placement-bottom ".concat(i,"-arrow"),{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"}),(0,o.Z)(n,"&-placement-bottomLeft ".concat(i,"-arrow"),{left:{_skip_check_:!0,value:b}}),(0,o.Z)(n,"&-placement-bottomRight ".concat(i,"-arrow"),{right:{_skip_check_:!0,value:b}}),(0,o.Z)(n,["&-placement-left ".concat(i,"-arrow"),"&-placement-leftTop ".concat(i,"-arrow"),"&-placement-leftBottom ".concat(i,"-arrow")].join(","),{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"}),(0,o.Z)(n,"&-placement-left ".concat(i,"-arrow"),{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"}),(0,o.Z)(n,"&-placement-leftTop ".concat(i,"-arrow"),{top:v}),(0,o.Z)(n,"&-placement-leftBottom ".concat(i,"-arrow"),{bottom:v}),(0,o.Z)(n,["&-placement-right ".concat(i,"-arrow"),"&-placement-rightTop ".concat(i,"-arrow"),"&-placement-rightBottom ".concat(i,"-arrow")].join(","),{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"}),(0,o.Z)(n,"&-placement-right ".concat(i,"-arrow"),{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"}),(0,o.Z)(n,"&-placement-rightTop ".concat(i,"-arrow"),{top:v}),(0,o.Z)(n,"&-placement-rightBottom ".concat(i,"-arrow"),{bottom:v}),(0,o.Z)(n,a(["&-placement-topLeft","&-placement-top","&-placement-topRight"],m),{paddingBottom:w}),(0,o.Z)(n,a(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],m),{paddingTop:w}),(0,o.Z)(n,a(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],m),{paddingRight:{_skip_check_:!0,value:w}}),(0,o.Z)(n,a(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],m),{paddingLeft:{_skip_check_:!0,value:w}}),n))}},74487:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var o=function(e,t,n,o,r){var a=e/2,i=a-n*(Math.sqrt(2)-1),c=a,s=a+n*(1-1/Math.sqrt(2)),l=a-n*(1-1/Math.sqrt(2)),u=2*a-t*(1/Math.sqrt(2)),d=t*(1/Math.sqrt(2)),h=4*a-u,p=d,m=4*a-s,g=l,f=4*a-i,v=c;return{borderRadius:{_skip_check_:!0,value:"0 0 ".concat(t,"px")},pointerEvents:"none",width:2*e,height:2*e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:e/Math.sqrt(2),height:e/Math.sqrt(2),bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat(t,"px 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:2*e,height:e/2,background:o,clipPath:"path('M ".concat(i," ").concat(c," A ").concat(n," ").concat(n," 0 0 0 ").concat(s," ").concat(l," L ").concat(u," ").concat(d," A ").concat(t," ").concat(t," 0 0 1 ").concat(h," ").concat(p," L ").concat(m," ").concat(g," A ").concat(n," ").concat(n," 0 0 0 ").concat(f," ").concat(v," Z')"),content:'""'}}}},76648:function(e,t,n){"use strict";n.d(t,{G:function(){return h},Z:function(){return m}});var o=n(87462),r=n(71002),a=n(1413),i=n(45987),c=n(72791),s=n(72378),l=n(1961),u=n(81694),d=n.n(u);function h(e){var t=e.showArrow,n=e.arrowContent,o=e.children,r=e.prefixCls,a=e.id,i=e.overlayInnerStyle,s=e.className,l=e.style;return c.createElement("div",{className:d()("".concat(r,"-content"),s),style:l},!1!==t&&c.createElement("div",{className:"".concat(r,"-arrow"),key:"arrow"},n),c.createElement("div",{className:"".concat(r,"-inner"),id:a,role:"tooltip",style:i},"function"===typeof o?o():o))}var p=function(e,t){var n=e.overlayClassName,u=e.trigger,d=void 0===u?["hover"]:u,p=e.mouseEnterDelay,m=void 0===p?0:p,g=e.mouseLeaveDelay,f=void 0===g?.1:g,v=e.overlayStyle,b=e.prefixCls,w=void 0===b?"rc-tooltip":b,_=e.children,k=e.onVisibleChange,A=e.afterVisibleChange,x=e.transitionName,y=e.animation,C=e.motion,R=e.placement,Z=void 0===R?"right":R,E=e.align,S=void 0===E?{}:E,M=e.destroyTooltipOnHide,L=void 0!==M&&M,B=e.defaultVisible,O=e.getTooltipContainer,T=e.overlayInnerStyle,F=e.arrowContent,I=e.overlay,N=e.id,j=e.showArrow,D=(0,i.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),V=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,(function(){return V.current}));var $=(0,a.Z)({},D);"visible"in e&&($.popupVisible=e.visible);var q=!1,P=!1;if("boolean"===typeof L)q=L;else if(L&&"object"===(0,r.Z)(L)){var W=L.keepParent;q=!0===W,P=!1===W}return c.createElement(s.Z,(0,o.Z)({popupClassName:n,prefixCls:w,popup:function(){return c.createElement(h,{showArrow:j,arrowContent:F,key:"content",prefixCls:w,id:N,overlayInnerStyle:T},I)},action:d,builtinPlacements:l.C,popupPlacement:Z,ref:V,popupAlign:S,getPopupContainer:O,onPopupVisibleChange:k,afterPopupVisibleChange:A,popupTransitionName:x,popupAnimation:y,popupMotion:C,defaultPopupVisible:B,destroyPopupOnHide:q,autoDestroy:P,mouseLeaveDelay:f,popupStyle:v,mouseEnterDelay:m},$),_)},m=(0,c.forwardRef)(p)},1961:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var o={adjustX:1,adjustY:1},r=[0,0],a={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:r}}},69025:function(e,t,n){"use strict";var o;function r(e){if("undefined"===typeof document)return 0;if(e||void 0===o){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var a=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;a===i&&(i=n.clientWidth),document.body.removeChild(n),o=a-i}return o}function a(e){var t=e.match(/^(.*)px$/),n=Number(null===t||void 0===t?void 0:t[1]);return Number.isNaN(n)?r():n}function i(e){if("undefined"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,o=t.height;return{width:a(n),height:a(o)}}n.d(t,{Z:function(){return r},o:function(){return i}})}}]);
//# sourceMappingURL=59.e3a7970e.chunk.js.map